//
//  UIViewController+LoginHold.h
//  BaseProject
//
//  Created by 王洋 on 2020/10/23.
//  Copyright © 2020 王洋. All rights reserved.
//

#import <UIKit/UIKit.h>

NS_ASSUME_NONNULL_BEGIN

typedef void(^TTOpenLoginCompletionBlock)(BOOL isLogin,NSDictionary *options);

@interface UIViewController (LoginHold)

/**
 *  打开登录
 *
 *  @param completion 登录完成后调用completion & 已登录直接调用completion
 */
- (void)openLoginWithCompletion:(TTOpenLoginCompletionBlock)completion;

@end

NS_ASSUME_NONNULL_END
